<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Goods_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goods_id" data-rule="required" data-source="mall/goods/goods/selectpage" data-field="productno" class="form-control selectpage" name="row[goods_id]" type="text" value="{$row.goods_id}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Attr_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="attr_ids" type="hidden" value="{$config.cat_ids}">
            <input id="c-attr_id" data-rule="required" data-source="mall/goods/catattr/selectpage" data-field="attrname" class="form-control selectpage" name="row[attr_id]" type="text" value="{$row.attr_id}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Attrval')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-attrval" data-rule="required" class="form-control " rows="5" name="row[attrval]" cols="50">{$row.attrval}</textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
